module.exports = {
   // baseUrl: './',
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        hot:true, //自动保存
        open: true, // 启动服务后是否打开浏览器
        host: "0.0.0.0",
        port: 9027, // 服务端口
        https: false,
        hotOnly: false,
        proxy:{
            '/api': {
                target: "http://localhost:8092/yoga",
                ws: true,
                changOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                }
            },
        }
    },
}
